home *** CD-ROM | disk | FTP | other *** search
- Short: Completes filenames in shellwindows ** Update **
- Author: e93hpe@efd.lth.se (Håkan Persson)
- Uploader: e93hpe@efd.lth.se
- Type: util/cli
-
- CFN - Complete FileNames
-
- This is a utility which provides filename completion in a ordinary
- shell window. Once installed it allows you to type the first few
- characters in the filename then press Tab and the rest is filled in
- for you. Also you can now press Left-Amiga-Tab to cycle through
- intuition windows. There are now two versions of the program, CFN
- which is the full version and CFNLITE which doesn't support window
- cycling. Though the programs only differ about 300 bytes in size, CFN
- uses a bigger stack and therefore requires about 2.5 Kbytes extra.
-
- Installation
- ------------
-
- 0. Check that your Amiga has Kickstart 2.0 or higher!
- 1. Copy CFN (or CFNLITE) and Notify to somewhere in your path ie C:
- 2. Add the following lines to your s:startup-sequence.
- Stack 2048 ; CFN allocates its own stack!
- Run >nil: CFN ; Or CFNLITE
- Stack 4096 ; Or whatever size you want
- 3. Put the following line FIRST in your s:shell-startup.
- Notify ; Notify depends on the shellwindow being active,
- ; if another window is active that window will
- ; get filename-completion.
- 4. Now reboot to turn CFN on!
-
- Operation
- ---------
-
- Open a shell window. Type a few characters in a filename. Now press
- Tab, CFN will find the first file in the directory with the beginning
- you specified and fill in the missing characters for you. If you press
- Tab once more CFN will find the next match for you and replace the
- previous filename. Continue to press Tab. When no match is found
- DisplayBeep() is called and the screen blinks.
-
- Press Left-Amiga-Tab to cycle through intuition windows.
-
- CFN is a hack, that means some peculiar things can happen. CFN
- remembers the characters typed in the shell window with some
- restrictions. Pressing one of the arrowkeys or space or ctrl-x causes
- CFN to clear its buffer, so after editing a command line CFN wont
- work. Also ">" and "<" in the beginning of filenames are ignored
- (pipes).
-
- To remove CFN from memory just send it a CTRL-C signal, this is
- easiest done using the CLI command BREAK <processnumber>. To find out
- the processnumber use the CLI command status.
-
- Author
- -------
-
- CFN is based on CFN (Fish 888) written by Andreas Günther. It was
- converted to E and enhanced by me. It is now a lot more stable, faster
- and requires less memory. This program is Public Domain, but I really
- would appreciate some feedback: a postcard, email or even a bug report ;-).
-
- Håkan Persson
- Magistratsvägen 55F206
- 226 44 Lund
- Sweden
-
- Or email: e93hpe@efd.lth.se
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 4112 2110 48.6% 05-May-95 14:57:22 +CFN
- 8005 3156 60.5% 05-May-95 14:46:18 +cfn.e
- 3844 2024 47.3% 05-May-95 15:01:58 +CFNLITE
- 7205 2920 59.4% 05-May-95 11:12:44 +cfnlite.e
- 732 511 30.1% 02-Sep-92 12:24:42 +Notify
- 668 375 43.8% 02-Sep-92 12:50:28 +Notify.e
- 2708 1354 50.0% 05-May-95 15:12:10 +Readme!
- -------- ------- ----- --------- --------
- 27274 12450 54.3% 19-May-95 16:51:52 7 files
-